<template>
  <div class="more-container">
    <el-tabs v-model="activeName" @tab-click="handleClick" class="tabcontent">
      <el-tab-pane label="学员属性" name="dateStatistics">
        <dateStatistics v-if="activeName == 'dateStatistics'" ></dateStatistics>
      </el-tab-pane>
      <el-tab-pane label="地图分布" name="mapHot">
        <mapHot v-if="activeName == 'mapHot'" ></mapHot>
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import dateStatistics from './component/dateStatistics'
import mapHot from './component/mapHot'


export default {
  components: {
    dateStatistics,
    mapHot
  },
  data() {
    return {
      activeName: 'dateStatistics',

    }
  },

  methods: {
    handleClick(tab, event) {
      this.activeName = tab.name
    },
 
  },
  mounted(){
   
  }
}
</script>

<style scoped lang='scss'>
::v-deep {
  .el-tabs__nav-wrap::after {
    height: 1px;
  }

  .el-tabs__item {
    font-size: 16px;
  }

  .el-tabs__item.is-active {
    font-weight: bold;
  }
}
</style>